// wrapper/cplusplus/cplusplus_wrapper.cpp
#include <iostream>
#include <string>

extern "C" {
    #include "../c/c_wrapper.h"
}

const char* send_msg(const char* msg) {
    std::cout << "C++ received: " << std::string(msg) << std::endl;

    static std::string c_response = "C++ response: Message processed";
    return c_response.c_str();
}